Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 17 - File Objects / File Objects Reference
File Objects Routines / Reading and Writing File Data


Q3RawData_Read

You can use the Q3RawData_Read function to read raw data from a file object.

TQ3Status Q3RawData_Read (
unsigned char *data, 
unsigned long size, 
TQ3FileObject file);
data
On entry, a pointer to a buffer whose length is of the specified size. On exit, a pointer to the raw data read from the specified file object.
size
On entry, the number of bytes of raw data to be read from the specified file object into the specified buffer. On exit, the number of bytes actually copied into the specified buffer.
file
A file object.
DESCRIPTION
The Q3RawData_Read function returns, in the data parameter, a pointer to the next size bytes of raw data in the file object specified by the file parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996